package omni.cloud.core.webapp.service;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

import omni.cloud.core.webapp.model.User;

@Component
public class FeignUserHystrix implements FeignUserService {

	@Override
	public List<User> searchAll() {
		List<User> list = new ArrayList<>();
		User user = new User();
		user.setUsername("error");
		list.add(user);
		return list;
	}

}
